<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>未找到该页面！</title>
    <style>
        .container {
            text-align: center;
        }

        .logo {
            width: 400px;
        }

        .info {
            color: #5e6d82;
        }

        .info a {
            color: #409eff;
            text-decoration: none;
        }

        .info a:hover {
            text-decoration: underline;
        }
    </style>
</head>
<body>
    
    <div class="container">
        <img src="" alt="" class="logo">
        <p class="info">
            页面未找到！ <a href="/index.html">返回首页 (<span id="num">5</span>)</a>
        </p>
    </div>

    <script>
        let num = 5;
        let spanNum = document.querySelector('#num');
        setInterval(() => {
            spanNum.innerHTML = --num;
            if(num <= 0) {
                location.href = '/index.html'
            }
        }, 1000)
    </script>
</body>
</html>